//
//  UIImageView+Extension.swift
//  weibo
//
//  Created by yellow on 15/10/15.
//  Copyright © 2015年 yellow. All rights reserved.
//

import UIKit

extension UIImageView{

    /// UIImageView分类,根据imageName创建UIImage的图片
    ///
    /// - parameter imageName: 图片空间的image的name
    ///
    /// - returns: UIImageView
    convenience init(imageName:String){
        self.init(image: UIImage(named: imageName))
    }
}
